package com.ruoyi.draw.mapper;

import java.util.List;
import com.ruoyi.draw.domain.NovelType;

/**
 * NovelTypeMapper接口
 * 
 * @author Locek
 * @date 2025-10-25
 */
public interface NovelTypeMapper 
{
    /**
     * 查询NovelType
     * 
     * @param id NovelType主键
     * @return NovelType
     */
    public NovelType selectNovelTypeById(Long id);

    /**
     * 查询NovelType列表
     * 
     * @param novelType NovelType
     * @return NovelType集合
     */
    public List<NovelType> selectNovelTypeList(NovelType novelType);

    /**
     * 新增NovelType
     * 
     * @param novelType NovelType
     * @return 结果
     */
    public int insertNovelType(NovelType novelType);

    /**
     * 修改NovelType
     * 
     * @param novelType NovelType
     * @return 结果
     */
    public int updateNovelType(NovelType novelType);

    /**
     * 删除NovelType
     * 
     * @param id NovelType主键
     * @return 结果
     */
    public int deleteNovelTypeById(Long id);

    /**
     * 批量删除NovelType
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteNovelTypeByIds(Long[] ids);
}
